package com.baitai.system.domain;

import com.baitai.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class PrizeDrawRuleProductRelation {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    private Long prizeDrawRuleId;

    /** $column.columnComment */
    private Long productId;
    private String probabilityOfWinning;

    /**
     * 内定手机号
     */
    private String predeterminePhone;
    private String productNumber;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPrizeDrawRuleId(Long prizeDrawRuleId)
    {
        this.prizeDrawRuleId = prizeDrawRuleId;
    }

    public Long getPrizeDrawRuleId()
    {
        return prizeDrawRuleId;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }

    public String getProbabilityOfWinning() {
        return probabilityOfWinning;
    }

    public void setProbabilityOfWinning(String probabilityOfWinning) {
        this.probabilityOfWinning = probabilityOfWinning;
    }

    public String getPredeterminePhone() {
        return predeterminePhone;
    }

    public void setPredeterminePhone(String predeterminePhone) {
        this.predeterminePhone = predeterminePhone;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("prizeDrawRuleId", getPrizeDrawRuleId())
                .append("productId", getProductId())
                .toString();
    }
}
